package com.yunji.framework_template.books.orm.persistence.mapper;

import com.yunji.framework_template.books.orm.persistence.model.BooksComment;
import com.yunji.framework_template.common.web.Page;
import java.util.List;

public interface BooksCommentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BooksComment record);

    int insertSelective(BooksComment record);

    BooksComment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BooksComment record);

    int updateByPrimaryKey(BooksComment record);

    List<BooksComment> selectByCondition(BooksComment record);

    List<BooksComment> selectAll();

    List<BooksComment> selectByPage(Page page);

    Integer count(BooksComment record);

    int deleteByCondition(BooksComment record);
}